package com.shuda.business.monitor.dto;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 渠道分布统计DTO类
 */
@Schema(name = "ChannelDistributionDTO", description = "渠道分布统计DTO")
public class ChannelDistributionDTO {

    @Schema(description = "渠道ID")
    private String channelId;

    @Schema(description = "渠道名称")
    private String channelName;

    @Schema(description = "渠道类型")
    private String channelType;

    @Schema(description = "数据量")
    private Long dataCount;

    @Schema(description = "成功数量")
    private Long successCount;

    @Schema(description = "失败数量")
    private Long failedCount;

    @Schema(description = "成功率")
    private String successRate;

    /** 渠道ID */
    public String getChannelId() { return channelId; }
    /** 设置渠道ID */
    public void setChannelId(String channelId) { this.channelId = channelId; }

    /** 渠道名称 */
    public String getChannelName() { return channelName; }
    /** 设置渠道名称 */
    public void setChannelName(String channelName) { this.channelName = channelName; }

    /** 渠道类型 */
    public String getChannelType() { return channelType; }
    /** 设置渠道类型 */
    public void setChannelType(String channelType) { this.channelType = channelType; }

    /** 数据量 */
    public Long getDataCount() { return dataCount; }
    /** 设置数据量 */
    public void setDataCount(Long dataCount) { this.dataCount = dataCount; }

    /** 成功数量 */
    public Long getSuccessCount() { return successCount; }
    /** 设置成功数量 */
    public void setSuccessCount(Long successCount) { this.successCount = successCount; }

    /** 失败数量 */
    public Long getFailedCount() { return failedCount; }
    /** 设置失败数量 */
    public void setFailedCount(Long failedCount) { this.failedCount = failedCount; }

    /** 成功率，如 98.76% */
    public String getSuccessRate() { return successRate; }
    /** 设置成功率 */
    public void setSuccessRate(String successRate) { this.successRate = successRate; }
}